package org.gbis.openbus;

public class TimeChecker extends ComLibRoute {

	public TimeChecker() {
		this.reSet();
	}

	public void reSet() {
		this.then = System.currentTimeMillis();
	}

	public void checkTime( String msg ) {
		double sec = ( System.currentTimeMillis() - then )/1000.0;
		this.debug( msg + " " + sec + " sec." );
	}

	private long then;

}
